Crashfix for using session manager via swift - radar filed