variable bug removed