Fixed idea warnings