guarding possible access of undefined prop