message and excpetion class tweaks