shorten wait times for commas; remove undefined