Fixed a broken 'extract' statement