Bug correction (Default type not working)