changed the language flag and the responsive check