fixed error on get submit btn text in functions file