fix controller and spec