remove refresh function