fix hidden event in dist