Cleaned unnecessary warnings