Forgot to make is writable static
Properly fixed detecting running out of space for vn pref