bug fixed with home api edit