fixed drawing bug and title length issue