fixed bug, added a temporary stop in controller
fixed bug, goal objects writing successfully to database, added temp stop in controller