Fixed error in compiler