/ fixes possibility for accessing of struct when null