fixed buf reloading too soon