fixed controller check