Duplicate not working, fixed other error simulations