Getting slide in error when the error changes