do not export trigger once, it may contain some functions that no way to use in cod