agregado confirmar, minor bugs fixes