add reversed path support