Corrected syntax errors (thanks to travis ci!)