fixed copying of built image