fix for MEGA