Fixed a bug in matchstar