linux compatibility error fixed