better message for lower() failure