url correction and improve API doc