ref #80: bugfix cache creation