cleaned unused warnings