fix variable initialisation (typo)