fix for using local namesapces