fixed controller setup