Fixing compiling errors 4