fixes duplicate trigger