uninitalized variables fix by (Gildas Bazin <gbazin at altern dot org>)