fix name completion for instances