fix(controller) : sync is not working

Have to fix the sync