fixed determination of invention and um status