Fixed error involving sec

ARRRGGG