fix bug: fix spelling mistake
optimize frontend