sample bug fixed