Fixed insert, update, formatting, delete doesn't work