bug fix in namespace binding