fixed form to allow add of loop # and manual add