clean up composite layout