annoying logging
rays fix