bugfix for some systems