fix rake task for demo restore