fix undefined isSecureCart #71