Fixes small syntax bbugs