Fix a critical issue in CustomLangsAPI, styling fixes