Format data was taking in kHz but not converting it back to Hz.