replace deprecated stub! to stub
bump the version to 3.0.6