catch exceptions
filter public entities