loading the form with location