directive fix so it refreshes the fields on every click
transaction attribute fix