Franklin confident of avoiding defeat