fixed ehgp controller