fix test on controller