Fixed bug in GetUnit (). Changes in mylib.c