fixed option bug in form prototype