Trying to solve the bug of the speed