cleaned up unnecessary warnings