Set correct delay