checking null layout