fixing PS bool handling