fixed api-breaking change of requiring language parameter