Fix app errors in xml