Fixed psearch, pallow, and punallow