Fix secureonly