minor bug fixed ddd