Add "Invalid resource" workaround