fixed bug with exists()