item checking wont change in page reload