removed unnecessary warnings