add check pwd