Fixing view registering goal and validates of the goals