fixed controller computation