fixed warinings