Fixed typo in setBandwidth function