bug fix, detection of reallyStatic