handle remaining content properly