fixed deletion of forms