fix switch lowerer messing up default_proj in some cases