minor bug fixes (Yes the application directory is now yadamingApplication again)