resize icon and error changes