Fixed the undefined extend.