Bug in viewer