updated to deal with travis-ci warnings