Fixing syntax error causing compile issue