fixing reload issue