fixed ramdom sampling options parsing to accept frac=1