fix missing 'then' .