more swift beta 3 changes for fix compile issues..