trimming whitspace text in configuration element