fixed -N not found issue