bugfix: was copying entire folder instead of its content