fixed issues from travis ci