fixing log in lang.js