fix attributes coping in fs-input