Minor Bug Fix

Corrected an accidentally mix up of the bar and off functions.