fix home time bug