fixes transposition/dimension bug. maybe fixes random crashes..??