Fix API missing returning value