replacing namespace in sample controller