Fix for unnecessary semicolon bug