fixed produciton migraiton issue.