fixing uri handler for reload