fixed go home function