Slight bug fixes

Couple of syntax errors