only replace screenshot if not null