finished removing debug info - oops
fixed bug when passing a custom instance (id) to the form
fixed bug when passing a custom instance (id) to the form