tried to fix compiling error