set proper delays