Trimmed trailing whitespace to prevent crash while loading.