Warning fix and archive enable