fix transpose and normmax