layout distribution issue fix