File write bug fix
ASM Construction