remove duplicated token getter