FIX: check for trimmed string