fix the typo on deleting pid_file