change some code to satisfy ReactomePA