alter order of type decl. compile succeed