fixed namespacing bug