fix warning in linux