secret should be overrided