fix for code error in extend method