fixed register confirm password script