handle namespace in cache class