fixes #2969 - remove all legacy api code in UI controllers