Fixed bug in reactor that caused high CPU