Added layout reporting method
Added a check if layout is failed