user struct access while null fixed