fix console api