remove reflection warning in producer code