Fixed error caused by class share-popup