change var declaration (fix travis build)