fix an 'undefined' bug, when critera from localStorageService was undefined