clear variables on successful subit