Fix undefined variable $content

Change-Id: I352865b319cc769e8ee309d953d5d1169671967f