Fixed a bug of Jion function