fixes warnings; suppress bigflag warning