fixed input id bug