fixed compilation #952