Fix error in create