fix getcontent bug