fixed screenshot feature and export function