fixed bug in non assigned viewer