A Consistent calculation of bubble nucleation rates