fixed a bug where a validation error caused a blowup on the player edit page.