Fixing static array to private variable