Fix caption with spaces