fix bug: arrow not green when error on edit (registration)