fix spec failing for filename hack