fixed reloading problem