fixed compute engine encoding bug