fixed offset display bug