fix 'Invalid time or time format' error (break missing)