fixed mahakana bug