fix the initialization variable