Fix #211 alternate buffer problem