fixed mistakes at units level