worked on CRM-12916, setting state defaults