fixed the reloading problem