fixed false length in getContent()

Signed-off-by: Armin Wieser <armin.wieser@gmail.com>