Fixed BoxConsumer compile issue