fixed the trigger creating query