repair infscroll and submit button