fix small bug and update to 3.0 style