fix for rays issue?