fixed init variables