Fixed bug with trimming macro parameters