Fix empty object (for if there is no data) found)
Fix syntax error