fixed a bug in the success handler, removed tech preview warning