fixing controller core usage