add clean_3D_frame

removes a 3D frame, simplifies the procedure and avoid errors