Fix NullPointerException onSuccess callback