fix for sim issue