added simple sever side sanitization of data and fixed errors for no rows returned.