Cannot replace white spaces because of occurence in string literals