fixed null pointers in populate