fixed bug in findById deleted exception