fixed compiler error when not using packet rays