fixed copy-paste bug