fixed missing extend