fixed controller utils