fix ajax request and bug with translate function