Fixed Jala bugs.