make subviews work