fix controller problem