remove link grammar and debug print