Fixed CE simulation

Signed-off-by: David Evans <dgevans42@gmail.com>