fix bug extension