added case for no GET data.