added Genie#handleError