Fixing fn calling ns scope