fixed image and site load bug