Fixing compiling errors 3