modify code not found parameter photo on create