#57 remove useless layouting code