Fixed get_goal method. Thanks to Bond90