Fix LyCore BUG