fix blank line bug while compress code