fix going down bug