fixes spec test