remove redundant condition: encoders returns buffer always