some fixes to refresh, no debugging for piano