Fixed typing error

cost => entryCost