minor bug fixed 2