removes unnecessary blank line