added validatePastFirstError option