fixed NRE, uses FixedUpdate instead of Update