small parsing fixes
make sure -Djboss.home param works as it should