remove unused static variables