better none resource handling