get content function doesn't work