fixed some spaces, braces