enable pause with ifdef