removed trailing whitespaces with strip_whitespace