Fixed var name issue and tweaked travis setup