fixed symal buffering issue