fixed linux warnings