fixed goto on load