fix bug in synccal page, logic ready for launch