fix for exists