modified advice on python run buffer. it was causing anerror