removed obvious warnings