swift beta 5 fixes