reverted api change