remove unused cache var, fixes #26