secure periods also remove deprecation