fixed typo in checkupdate