fixed edit, everything now working, i guess