fix #2560, export/using segfault