Fixed a typo in the initialization function