removing extra <form> element