Fix mixed spaces and tabs, use pnltri