cleanup in editpw