fix autopopulation bug due to page load times on server.