Fixing compiling errors 5