bug fixed and add license