issue #1240 of osclass/Osclass