SmartyPants optimization (fix travis ci)