warning fixed for linux