fixed prepopulation crash