Fixed error compilation