remove conn in api views