little fix for get - use params rather than data