fixed getContent bug