fixed document apis