fixed lightning modification exception