Minor bug fix with transmap