trigger bug fixed