working again. missing saving query