assembler: fixed some errors