fix refresh() in APIs