fixing view logs bug