add support for routes with negative priority value