fixed url in xhr
fix commit problems