correcting controller inheritance