fixed error in MYSQLI and POSTGRESQL return data