improved symbol flag passing