macro(): fixed exist detection