Normalize undefined

Always undefined be undefined and normalize its usage