fixing error for jasmine