fixed  warnings