take care of const flag conflict (shadowing)