fixing namespace warnings