fixed travis setup
Fixed reference bug