Copy/pasting without enough checking causes errors