Merge two mode, still bug on alarm