Corrected errors during compiling.