fix assembly undefined issue