Removed static variable causing fatal error.