Clean warnings and errors