fix travis failures

see #2400