fix extracted check