Quickfix for IOError on migrate