Added Pavel's fix for the getFee... bug.