Correcting bugs in form