iOS8,64bit support,fixes