add permashift patch