Fixed notice for undefined $content_length