Changed bad lang to new type of error