fixed bugs on the chunk effect with PSSM.