final bug fix for 1.0.2