fix some old static stuff