fix passing the PSID and setting the PSID within module