fix goHome() bug