removed unneeded code from ui mfile