Fixes the issue where running individual specs causes error