fixed takesnapshot