fix screenshot path issue