added explicit exp for invalid 'validLength' param