Debug bug fixed
light beacon bug fixed (partially)