On homotopy and deformation retracts