Removed NSAssert since it crashes the application
Removed NSAssert