Fixing newbie error on class members initialisation