[fix] class snippet