fixes for stqry