Fixed spec bug