fixed errors to get it to run

A few errors in XML and java files fixed.