fixed compilation issue about 'boolean' type