Update default.php

It should be $type2 or else the type is missing