fixed blank line spewing problem