Fixed send queries by id