It is wise to take note (with the landlord or property manager present) of any defects before you move in. When it is time to move out, those originally noted damages should not be charged against your security deposit since they occurred before you moved in.