fix references to SorcerConstants