fix empty extension