trimmed unnecessary spaces