fixed issue in loading page