restore the method to get form