[fix] Ignore trailing chars