fixed create and edits