strip spaces from start/end of params in add backend