- minor bug fix on layout error causing code to break.