Set the Hydna API, fixed the NullPointerException