remove split from view logic