fixing bug plnutils