some modifications and iphone 5 fix..