resolving issue that generated a wrong migration file