bug fix & implement security check (osecpu070d)