Add spece after closing | to prevent expand multiple times.