fixed a typo in frontend