Fixed user units initialization bug.