fix spec and replace hash rockets
update confirm syntax to remove deprecated warning