fixed warning on linux