Fixed spec warning