once more string->enum fixing