safer code with rescue around constantize