fix notice warning
fail early if language is empty
release 2.5.2