fix bug on complex namespace case for eom and value