put -maxdepth in front of -name to avoid the find warning issue