corrected the directive so that it is using the correct speed