fixed view errors and spec syntax because of adding sti