client side reloading fix