fixed controller inheritance issue