Fixed error on compiling