edit security fixed, more test