Trim excess blank line in code