Solving compiling issue