null exception fix

fixed null pointer exception in DifferPrograTab