Fixing compiling errors 2