code cleanup
fix /method namespaces call