fix spacing and line numbers