fix procedure defination error
distance modifier should before =>