fix spec & view