Fix some warning and notice

Warning: Illegal string offset 'lang' in... "$atts['lang']"
Notice: Undefined variable... "$language"