fixed 3.0.2 bug