fixing the initialization