fixing null ptr exception when guidlist is not set