Fixing the bugs to fix the goal bar