fix style layout when no event bubble yet