fixed bash error for find