fixed page reload issue