Fixed being able to add empty extensions