fixed bug with no GET params