resolves refresh issue for mac users refs #201
Merge branch 'refreshfix'