remove static method
add canonicalize method
use canonicalize method