BZ-9741 added resource path handling