Fixing duplicated extension bug