fix duplicated exercise again with visibility check