fix negative transpose