fixed small bug in bug creation