adding border line on the query result