check if the path have a pre handler. Qiu