handle bad formatting in get request