removed redundant preferences cache. Fixes #2