fix screenshot plugin