fixed pygmens error