Fix Syn building function