Fix selector when use with absolute path