Prepopulated field only works sometimes