copy-pasta induced bug