check synctax