fix spec test