got rid of sql errors not showing the query +codestyle