attemp on fixing buffer is not copied correctly?