fixed bugs in genSitraPestInput