[#637] Bug fix and use correct schema for travis