fix missing safe decorator