log error on bad layout data