Improve layout of source fragment