remove depracated pier-mode