fix controller references