fix trailing whitespace issues
do not indent empty var lines