fixed compilation error with build 2.0