fix speed issue