yet another minor fix in frontend.cc