fix syntax & runtime shipyard errors