Fix insert, and delete