Small buf fixed
Small bug fixed