small fix for compatiblity with other OS types