Fixed warnings() method in layout report