re-enable legacy api