checking null oblect in layout
resolve merge conflict