Try to deal with extensions