fix a method that determine whether an input is operation alias