fix data input 's name hard coded in code