Problem with editing fields