fixed problem on enabling extension