Updated XML to correct layout and not throw runtime exception