bug in cp command