take last param in query string for given key