properly prepend fragment