replace buffer silently