Cleans up formatting