add tonumber() to error
more travis upgrade error diagnnostics