Hide message when gate cost is zero