fixed mega/giga bug