had an error with buffering..fixed it