the edit button goes into edit view, but breaks everything else...