issue#8: fixes migration rollback error

fixes issue #8