Small fix: correct pilots calculation