fix multiple lines and no results