revise input form