fix #637 broke cache

typo broke caching, fixed