r6 PMlib-1.9 beautify