fixed compiling problem