added try/catch block  in get_scale_letters