fixed compiler warning introduced by [a040c1e2aa]