fix some type warnings and kick travis