fixed jasmine issue