removing auto reload
fixing auto reload algo