Fixed write/open to not rely on other tables