checking warrnings