fixed compiling issue