adding the popup message fix