Fixed some things in libUtil