fix add and edit challenge