Fixed most of jardev bugs.