fixed a bug for frontendcontroller