cleaned up
sql fix