fix speed not compiling