How to not lose your deposit