Issue with not setting goal after contructor on load