Fixed issues with math rules after implement ViewPager