fixed exists missing bug