Fixing NSProxy exception