Fixes layout/bounds and travis-ci fix.