Fixed bug in fighting resists