fix web.xml warrning; fix remote-api