added stuff

bug fix buffer