Fix compiling error in Beta 7