[fix] resetting the content length