fixed a bug with the assembler