fixed small variations bug