fix deployments page 500 (though not sure if this ui still works sensibl...

...y)