Fixed some bug with Confirmedattribute