avoid reading id many times per second