correcting namespace error