removing improper extend