undoing change that broke api