cleanup and safety on isPopulated