fixed an error in ntacts