minor fix in alt enc