bugfix onAfterRollback variable