Fixed static member bug