[bugfix] fixed access to properties of undefined