clear bugs in form_invest