fixing little warnings