fix controller json integration