removed unnecessary warnings from console