Correct some api methods