not so nice fix for resource