fixing some bugs with Swift update