Fix transpose
Fix scan