minor fixes

view to edit still doesn't work right