improve deprecated functions search