[API] [Fix] error which break compilation in last commit