Rollback liberation code - not working as expected