migration scripts are completely fixed (close #50)