fixed ubuntu warnings