fix misc library asm validations