Bug corrections

Fix bad syntax

I apologize for my first attempt.