remove stray comma causing str to array