fix null layout