removing newline that was causing atob issue