[fix] no ref also works