Strip whitespacing that was causing issues