rescue name errors (fixes travis build)