fixed customers query