fix for failing syntax tests due to not handling case