fixed extension bugs