working on more tolerant version of stickydir