added one more error check to vm load program