attempt to fix iOS null values on query