fix typo and load onclick