fix formating of fragments