fix the bug of unicorn