fixed annoying issue where actions would repeat during a time step