changed the opts.startDay input validation