fix bugs of photobooth