Fixing refresh on function