refresh fix
preload fix
changed reload detection