rename relative imports and do a proper L2 norm