fix gate_default in frontend