removing non-simple types in the find method