fixes refresh buttons