avoid empty base exception