error fixed with the create action