removed trailing whitespaces causing warnings