fixes error bowercopy error and some little changes