remove warnings from code base.